package net.lab1024.sa.admin.module.business.template.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 报价单模板明细 列表VO
 *
 * @Author zzx
 * @Date 2025-08-06 11:06:59
 * @Copyright zzx
 */

@Data
public class QuotationTemplateItemsVO {


    @Schema(description = "模版明细id")
    private Long templateOrderId;

    @Schema(description = "模板id")
    private Long templateId;

    @Schema(description = "序号")
    private Integer serialNumber;

    @Schema(description = "品名")
    private String productName;

    @Schema(description = "规格")
    private String specifications;

    @Schema(description = "比重")
    private BigDecimal specificWeight;

    @Schema(description = "用量")
    private BigDecimal usagee;

    @Schema(description = "单价")
    private BigDecimal unitPrice;

    @Schema(description = "金额")
    private BigDecimal sumOfMoney;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "类型")
    private Integer type;

    @Schema(description = "禁用状态")
    private Integer disabledFlag;

    @Schema(description = "删除状态")
    private Integer deletedFlag;

    @Schema(description = "创建人ID")
    private Long createUserId;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

//    @Schema(description = "更新时间")
//    private LocalDateTime updateTime;

    @Schema(description = "更新人ID")
    private Long updateUserId;

    public QuotationTemplateItemsVO() {
    }

    public QuotationTemplateItemsVO(Long templateId, String productName, String specifications, Integer type) {
        this.templateId = templateId;
        this.productName = productName;
        this.specifications = specifications;
        this.type = type;
    }
}
